package app

import (
	"certificate-manager/pkg/log"
	"github.com/astaxie/beego/validation"
	"go.uber.org/zap"
)

// MarkErrors logs error logs
func MarkErrors(errors []*validation.Error) {
	for _, err := range errors {
		log.Logger.Error("mark errors.", zap.Any("err", err))
	}

	return
}
